<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>学生主页</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link href="static/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" />
	<link href="static/h-ui/css/H-ui.admin.css" rel="stylesheet" type="text/css" />
	<link href="static/h-ui/css/H-ui.css" rel="stylesheet" type="text/css" />
	<link href="skin/default/skin.css" rel="stylesheet" type="text/css" id="skin" />
	<link href="lib/Hui-iconfont/1.0.8/iconfont.css" rel="stylesheet" type="text/css" />
	<link href="css/mycss.css" rel="stylesheet" type="text/css" />
  </head>
  	<script type="text/javascript" src="./lib/jquery/1.9.1/jquery.js"></script> 
	<script type="text/javascript" src="./lib/jquery/1.9.1/jquery.min.js"></script> 
	<script type="text/javascript" src="./static/h-ui/js/H-ui.js"></script> 
	<script type="text/javascript" src="./static/h-ui/js/H-ui.admin.js"></script>
	<script type="text/javascript" src="./js/myjs.js"></script>
  <body class="overflow_h">
    <header class="navbar-wrapper">
		 <div class="navbar navbar-black">
			<div class="container cl">
				<a class="logo navbar-logo f-l mr-10 hidden-xs" href="javascript:;" title="考试系统">考试系统</a>
				<a class="logo navbar-logo f-l mr-10 visible-xs" href="javascript:;" title="考试系统">考试系统</a>
				<span class="logo navbar-slogan f-l mr-10 hidden-xs">V1.0</span>
				<nav class="nav navbar-nav nav-collapse">
					<ul class="cl">
						<li class="titles current" name="知识点练习"><a href="javascript:;" class=" hidden-sm"><i class="Hui-iconfont">&#xe689;</i> 知识点练习</a><a href="javascript:;" class=" visible-sm"><i class="Hui-iconfont">&#xe689;</i> 知识</a></li>
						<li class="titles" name="错题练习"><a href="javascript:;" class=" hidden-sm"><i class="Hui-iconfont">&#xe6ab;</i> 错题练习</a><a href="javascript:;" class=" visible-sm"><i class="Hui-iconfont">&#xe6ab;</i> 错题</a></li>
						<li class="titles" name="阶段练习"><a href="javascript:;" class=" hidden-sm"><i class="Hui-iconfont">&#xe61e;</i> 阶段练习</a><a href="javascript:;" class=" visible-sm"><i class="Hui-iconfont">&#xe61e;</i> 阶段</a></li>
						<li class="titles" name="论述题练习"><a href="javascript:;" class=" hidden-sm"><i class="Hui-iconfont">&#xe692;</i> 论述题练习</a><a href="javascript:;" class=" visible-sm"><i class="Hui-iconfont">&#xe692;</i> 论述</a></li>
						<li class="titles" name="真题练习"><a href="javascript:;" class=" hidden-sm"><i class="Hui-iconfont">&#xe72d;</i> 真题练习</a><a href="javascript:;" class=" visible-sm"><i class="Hui-iconfont">&#xe72d;</i> 真题</a></li>
						<li class="titles" name="组卷模考"><a href="javascript:;" class=" hidden-sm"><i class="Hui-iconfont">&#xe636;</i> 组卷模考</a><a href="javascript:;" class=" visible-sm"><i class="Hui-iconfont">&#xe636;</i> 组卷</a></li>
					</ul>
				</nav>
				<nav class="nav navbar-nav navbar-userbar">
					<ul class="cl">
						<li><a href="javascript:;" title="${user.name }"><c:out value="${user.name }"></c:out></a></li>
						<li><span>|</span></li>
						<li><a href="javascript:;" title="退出登陆"><i class="Hui-iconfont">&#xe706;</i></a></li>
					</ul>
				</nav>
			</div>
		</div>
	</header>
	<aside class="Hui-aside hui-flipinY">
	<div class="menu_dropdown">
		<dl id="menu_title">
			<ul><li><a><i class="Hui-iconfont">&#xe689;</i> 知识点练习</a></li></ul>
		</dl>
		<br>
		<dl >
			<li><a>科目<i class="Hui-iconfont f-r menu_dropdown-arrow" style="margin-right: 14px;">&#xe681;</i></a></li>
		</dl>
		<br>
		<c:forEach items="${subjects}" var = "subjects">
			<dl class="menu_subject">
				<dt><a><c:out value="${subjects.name}"></c:out></a><i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
					<dd>
						 <ul>
						 	<c:forEach items="${knowledges}" var = "knowledges">
						 		<c:if test="${knowledges.super_id==subjects.category_relation_id }">
						 			<li><a name="${knowledges.category_relation_id}" href="javascript:void(0)"><c:out value="${knowledges.name}"></c:out></a></li>
						 		</c:if>
						 	</c:forEach>
						</ul>
					</dd>
			</dl>
		</c:forEach>
	</div>
	</aside>
	<aside class="Hui-aside hidden hui-flipinY">
	<div class="menu_dropdown">
		<dl id="menu_title">
			<ul><li><a href="javascript:;"><i class="Hui-iconfont">&#xe6ab;</i> 错题练习</a></li></ul>
		</dl>
		<br>
		<dl >
			<li><a>科目<i class="Hui-iconfont f-r menu_dropdown-arrow" style="margin-right: 14px;">&#xe681;</i></a></li>
		</dl>
		<br>
		<c:forEach items="${subjects}" var = "subjects">
			<dl class="menu_subject1">
				<dt><li><a  name="${subjects.category_relation_id}" href="javascript:void(0)"><c:out value="${subjects.name}"></c:out></a></li></dt>
			</dl>
		</c:forEach>
	</div>
	</aside>
	<aside class="Hui-aside hidden hui-flipinY">
	<div class="menu_dropdown">
		<dl id="menu_title">
			<ul><li><a href="javascript:;"><i class="Hui-iconfont">&#xe61e;</i> 阶段练习</a></li></ul>
		</dl>
		<br>
		<dl >
			<li><a>科目<i class="Hui-iconfont f-r menu_dropdown-arrow" style="margin-right: 14px;">&#xe681;</i></a></li>
		</dl>
		<br>
		<c:forEach items="${subjects}" var = "subjects">
			<dl class="menu_subject1">
				<dt><li><a name="${subjects.category_relation_id}" href="javascript:void(0)"><c:out value="${subjects.name}"></c:out></a></li></dt>
			</dl>
		</c:forEach>
	</div>
	</aside>
	<aside class="Hui-aside hidden hui-flipinY">
	<div class="menu_dropdown">
		<dl id="menu_title">
			<ul><li><a href="javascript:;"><i class="Hui-iconfont">&#xe692;</i> 论述题练习</a></li></ul>
		</dl>
		<br>
		<dl >
			<li><a>科目<i class="Hui-iconfont f-r menu_dropdown-arrow" style="margin-right: 14px;">&#xe681;</i></a></li>
		</dl>
		<br>
		<c:forEach items="${subjects}" var = "subjects">
			<dl class="menu_subject1">
				<dt><li><a name="${subjects.category_relation_id}" href="javascript:void(0)"><c:out value="${subjects.name}"></c:out></a></li></dt>
			</dl>
		</c:forEach>
	</div>
	</aside>
	<aside class="Hui-aside hidden hui-flipinY">
	<div class="menu_dropdown">
		<dl id="menu_title">
			<ul><li><a href="javascript:;"><i class="Hui-iconfont">&#xe72d;</i> 真题练习</a></li></ul>
		</dl>
		<br>
		<dl >
			<li><a>科目<i class="Hui-iconfont f-r menu_dropdown-arrow" style="margin-right: 14px;">&#xe681;</i></a></li>
		</dl>
		<br>
		<c:forEach items="${subjects}" var = "subjects">
			<dl class="menu_subject1">
				<dt><li><a name="${subjects.category_relation_id}" href="javascript:void(0)"><c:out value="${subjects.name}"></c:out></a></li></dt>
			</dl>
		</c:forEach>
	</div>
	</aside>
	<aside class="Hui-aside hidden hui-flipinY">
	<div class="menu_dropdown">
		<dl id="menu_title">
			<ul><li><a href="javascript:;"><i class="Hui-iconfont">&#xe636;</i> 组卷模考</a></li></ul>
		</dl>
		<br>
		<dl >
			<li><li><a >科目<i class="Hui-iconfont f-r menu_dropdown-arrow" style="margin-right: 14px;">&#xe681;</i></a></li>
		</dl>
		<br>
		<c:forEach items="${subjects}" var = "subjects">
			<dl class="menu_subject1">
				<dt><li><a name="${subjects.category_relation_id}" href="javascript:void(0)"><c:out value="${subjects.name}"></c:out></a></li></dt>
			</dl>
		</c:forEach>
	</div>
	</aside>
	<section class="Hui-article-box overflow-a">
		
	</section>
<script type="text/javascript" src="./js/studentMain.js"></script>
	<script type="text/javascript"></script>
  </body>
</html>
